// 土司弹窗
export const showToast = (options={}, icon = 'none') => {
	return new Promise((resolve, reject) => {
		uni.showToast({
			icon,
			...options,
			success: (res) => {
				resolve(res)
			},
			fail: (err) => {
				reject(err);
			}
		})
	})

}